﻿<%@ Assembly Name="ServBus.ListForm2010, Version=1.0.0.0, Culture=neutral, PublicKeyToken=df5827f77359eb0a" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LookupFormGenerator.aspx.cs"
    Inherits="ServBus.ListForm2010.Layouts.InfoBus2010.LookupFormGenerator" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    ListForm - Select Content Type
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    ListForm - Select Content Type
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
<title>ListForm - Select Content Type</title>
    <SharePoint:CssRegistration ID="CssRegistration1" runat="server" Name="ows.css" />
    <SharePoint:ScriptLink ID="ScriptLink1" Language="javascript" Name="core.js" runat="server" />
    <SharePoint:FormDigest ID="FormDigest1" runat="server" />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table style="margin: 15px; height: 100%">
        <tr>
            <td colspan="2">
                Select sub forms from the list below:
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:TreeView ID="ContentTypeTvw" runat="server">
                </asp:TreeView>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="createlkpFormButton" runat="server" Text="OK" OnClick="createlkpFormButtonClick" />
            </td>
            <td>
                <asp:Button ID="cancelButton" runat="server" Text="Cancel" OnClick="cancelButtonClick"
                    Style="margin: 15px" />
            </td>
        </tr>
    </table>
<asp:literal ID="LTException" runat="server" Text="" visible="false"></asp:literal>
<asp:Panel id="errorPanel" runat="server" visible="false">
<br/>
<div style="color:red;font-size:1.2em;font-weight:bold;padding-left:15px">
Oops! There must be something wrong, please try again later. <br/>If you've failed for several times, please contact administrator.
</div>
</asp:Panel>
</asp:Content>

